﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace NextGenSystems.WHMCS
{
  public  class Order
    {
        #region Attributes

        private string _clientid;
        private List<string> _pid;
        private List<string> _domain;
        private List<string> _billingcycle;
        private string _addons;
        private string _customfields;
        private string _configoptions;
        private string _priceoverride;
        private string _domaintype;
        private string _regperiod;
        private string _dnsmanagement;
        private string _emailforwarding;
        private string _idprotection;
        private string _eppcode;
        private string _contactid;
        private string _domainfields;
        private string _nameserver1;
        private string _nameserver2;
        private string _nameserver3;
        private string _nameserver4;
        private string _paymentmethod;
        private string _promocode;
        private string _affid;
        private string _noinvoice;
        private string _noinvoiceemail;
        private string _noemail;
        private string _clientip;

        #endregion

        #region Properties

        [DataMember()]
        public string Clientid
        {
            get { return _clientid; }
            set { _clientid = value; }
        }
        [DataMember()]
        public List<string> Pid
        {
            get { return _pid; }
            set { _pid = value; }
        }
        [DataMember()]
        public List<string> Domain
        {
            get { return _domain; }
            set { _domain = value; }
        }
        [DataMember()]
        public List<string> Billingcycle
        {
            get { return _billingcycle; }
            set { _billingcycle = value; }
        }
        [DataMember()]
        public string Addons
        {
            get { return _addons; }
            set { _addons = value; }
        }
        [DataMember()]
        public string Customfields
        {
            get { return _customfields; }
            set { _customfields = value; }
        }
        [DataMember()]
        public string Configoptions
        {
            get { return _configoptions; }
            set { _configoptions = value; }
        }
        [DataMember()]
        public string Priceoverride
        {
            get { return _priceoverride; }
            set { _priceoverride = value; }
        }
        [DataMember()]
        public string Domaintype
        {
            get { return _domaintype; }
            set { _domaintype = value; }
        }

        [DataMember()]
        public string Regperiod
        {
            get { return _regperiod; }
            set { _regperiod = value; }
        }
        [DataMember()]
        public string Dnsmanagement
        {
            get { return _dnsmanagement; }
            set { _dnsmanagement = value; }
        }
        [DataMember()]
        public string Emailforwarding
        {
            get { return _emailforwarding; }
            set { _emailforwarding = value; }
        }
        [DataMember()]
        public string Idprotection
        {
            get { return _idprotection; }
            set { _idprotection = value; }
        }
        [DataMember()]
        public string Eppcode
        {
            get { return _eppcode; }
            set { _eppcode = value; }
        }
        [DataMember()]
        public string Contactid
        {
            get { return _contactid; }
            set { _contactid = value; }
        }
        [DataMember()]
        public string Domainfields
        {
            get { return _domainfields; }
            set { _domainfields = value; }
        }
        [DataMember()]
        public string Nameserver1
        {
            get { return _nameserver1; }
            set { _nameserver1 = value; }
        }
        [DataMember()]
        public string Nameserver2
        {
            get { return _nameserver2; }
            set { _nameserver2 = value; }
        }
        [DataMember()]
        public string Nameserver3
        {
            get { return _nameserver3; }
            set { _nameserver3 = value; }
        }
        [DataMember()]
        public string Nameserver4
        {
            get { return _nameserver4; }
            set { _nameserver4 = value; }
        }
        [DataMember()]
        public string Paymentmethod
        {
            get { return _paymentmethod; }
            set { _paymentmethod = value; }
        }

        [DataMember()]
        public string Promocode1
        {
            get { return _promocode; }
            set { _promocode = value; }
        }
        [DataMember()]
        public string Affid
        {
            get { return _affid; }
            set { _affid = value; }
        }
        [DataMember()]
        public string Noinvoice
        {
            get { return _noinvoice; }
            set { _noinvoice = value; }
        }
        [DataMember()]
        public string Noinvoiceemail
        {
            get { return _noinvoiceemail; }
            set { _noinvoiceemail = value; }
        }
        [DataMember()]
        public string Noemail
        {
            get { return _noemail; }
            set { _noemail = value; }
        }
        [DataMember()]
        public string Clientip
        {
            get { return _clientip; }
            set { _clientip = value; }
        }

        #endregion
    }
}
